package com.careerraiser.testing;

import com.careerraiser.xtra.Elephant;
import com.careerraiser.xtra.Elephant.HeadDetails;
import com.careerraiser.xtra.Elephant.HeadDetails_static;
import com.careerraiser.xtra.Int1;

public class TestInnerClass {

	public static void main(String[] args) {
		Elephant el1=new Elephant("side1-eyes","Big Brain");
		Elephant.HeadDetails headData=el1.getHeaddetails();
		System.out.println(headData.getEyesBrainData());
		TestStatics.processheaddetails(headData);
		System.out.println("before methodlocal");
		el1.testInnerMethodClass();
		//Elephant.HeadDetails headData1=el1.new HeadDetails();
		
		HeadDetails_static static1 = new HeadDetails_static();
		Elephant.HeadDetails headData1=new Elephant("4", "5").new HeadDetails();
		System.out.println(headData1.getEyesBrainData());
		
		TestStatics.testLocalClass(new Int1(){
			String abcd="I am unknown";
			public void testmethod1() {
				System.out.println("in method inner class");
			}			
			public String testmethod2() {
				return abcd;
			}
		});
	}
	
	

}
